// Copyright 2021 Guoyoko. All Rights Reserved.

#include "Factories/CustomizeFlowFactory.h"


/* UCustomizeFlowFactory structors
 *****************************************************************************/

UCustomizeFlowFactory::UCustomizeFlowFactory(const FObjectInitializer& ObjectInitializer)
	: Super(ObjectInitializer)
{
	SupportedClass = UCustomizeFlowAsset::StaticClass();
	bCreateNew = true;
	bEditAfterNew = true;
}

/* UFactory overrides
 *****************************************************************************/

UObject* UCustomizeFlowFactory::FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
{
	return NewObject<UCustomizeFlowAsset>(InParent, InClass, InName, Flags);
}

bool UCustomizeFlowFactory::ShouldShowInNewMenu() const
{
	return true;
}

